

globle_int = 5;
--写配置文件
function WritePrivateProfileString( appName, keyName, strValue, fileName )
	--Lua_Logout("  name= "..appName.."   key= "..keyName.."   value= "..strValue.."   FileName ="..fileName)
    local WritePrivateProfileStringA = GLibTab["Kernel32"]:GetProcAddress("WritePrivateProfileStringA", "int")
	assert(nil ~= WritePrivateProfileStringA,"WritePrivateProfileStringA error ")
  
	return WritePrivateProfileStringA(appName,keyName,strValue,fileName)

end

function WriteIni_160Wifi( )
	WritePrivateProfileString("NormalSetting","DefaultSSID","160WiFi_(MAC4)", global_install_path .. "\\dtlwificfg.ini" );
end

function WriteIni_720WiFi( )
	WritePrivateProfileString("NormalSetting","DefaultSSID","720WiFi_(MAC4)", global_install_path .. "\\dtlwificfg.ini" );
end

function WriteIni_computer( )
	WritePrivateProfileString("NormalSetting","DefaultSSID","(COMPUTER)", global_install_path .. "\\dtlwificfg.ini" );
end

function Init()
	WritePrivateProfileString("xxm","data","1", "E:\\corecode\\wincode\\winlib\\res\\data.ini")
end